﻿using BCDto.Common.Area;
using BCEntity.Common.Area;

namespace BCService.Common.Area
{
    /// <summary>
    /// 区域信息业务处理接口
    /// </summary>
    public interface IZoneService
    {
        ///// <summary>
        ///// 检查地址
        ///// </summary>
        ///// <param name="current">当前登录用户</param>
        ///// <param name="dto">基本订单请求对象</param>
        ///// <returns></returns>
        //OrderZoneEntity CheckAddress(UserDto current,BaseOrderRequestDto dto);
        ///// <summary>
        ///// 转换为ZoneEntity
        ///// </summary>
        ///// <param name="dto">订单地址请求信息</param>
        ///// <returns></returns>
        //ZoneEntity ConvertZoneEntity(OrderAddressRequestDto dto);
        /// <summary>
        /// 获取出发地区域实体
        /// </summary>
        /// <param name="zoneCode">区域编码</param>
        /// <returns></returns>
        ZoneEntity GetFromZoneEntity(string zoneCode);
        /// <summary>
        /// 获取省份列表
        /// </summary>
        /// <returns></returns>
        ZoneDto[] GetProvinces();
        /// <summary>
        /// 获取城市列表
        /// </summary>
        /// <param name="provinceCode">省份Id</param>
        /// <returns></returns>
        ZoneDto[] GetCities(string provinceCode);
        /// <summary>
        /// 获取区域列表
        /// </summary>
        /// <param name="cityCode">城市Id</param>
        /// <returns></returns>
        ZoneDto[] GetCounties(string cityCode);
    }
}
